package com.zhy.springcloud.service;

import java.math.BigDecimal;

/**
 * @Author zhy
 * @Description
 * @ClassName AccountService
 * @Date 2021/1/8 13:43
 **/
public interface AccountService {

    /**
     * 扣减账户余额
     *
     * @param userId
     * @param money
     */
    void decrease(Long userId, BigDecimal money);

}
